package example.documentbased.mainModule.services
{
	import example.documentbased.mainModule.models.doman.Document;
	
	import raix.reactive.IObservable;

	public interface IDocumentService
	{
		function getDocuments(editorId:String):IObservable; // Vector.<Document>
		
		function saveDocument(document:Document):IObservable; // id:String 
		
		function deleteDocument(document:Document):IObservable; // void
		
		function getDocumentContent(document:Document):IObservable // String
	}
}